package org.millioncall.yueyoga.admin.dao;

import java.util.List;
import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Coach;


public interface CoachDAO{

	public PaginatedList<Coach> findPage(int start, int pageSize);

	public void deleteByIds(Integer[] deids);

	public int save(Map<String, Object> map);

	public int update(Map<String, Object> map);

	public PaginatedList<Coach> findPage(int start, int pageSize, Map<String, Object> map);
	
	public List<Coach> findAll(Map<String, Object> map);
	
	public Coach findById(Integer id);
	
	public List<Coach> findCoach0();
	
	public List<Coach> findCoach1();
	
	public List<Coach> findAllTeacherByOrganizationId(Map<String, Object> map);
	
	public List<Coach> findAllAssistantByOrganizationId(Map<String, Object> map);

}
